package com.union.vehicleassistant.http.api;

import com.google.gson.annotations.SerializedName;
import com.hjq.http.config.IRequestApi;

public class CommitPermissionApi implements IRequestApi {
    @Override
    public String getApi() {
        return "oa/formPermissions/dataList";
    }

    public String nodeId;
    public String definitionId;

    public CommitPermissionApi setNodeId(String nodeId) {
        this.nodeId = nodeId;
        return this;
    }

    public CommitPermissionApi setDefinitionId(String definitionId) {
        this.definitionId = definitionId;
        return this;
    }

    public static class Bean {
        @SerializedName("createBy")
        private String createBy;
        @SerializedName("createTime")
        private long createTime;
        @SerializedName("lastModifyBy")
        private String lastModifyBy;
        @SerializedName("lastModifyTime")
        private long lastModifyTime;
        @SerializedName("id")
        private int id;
        @SerializedName("taskId")
        private String taskId;
        @SerializedName("definitionId")
        private String definitionId;
        @SerializedName("formId")
        private String formId;
        @SerializedName("nodeId")
        private String nodeId;
        @SerializedName("formContent")
        private String formContent;
        @SerializedName("name")
        private String name;
        @SerializedName("label")
        private String label;

        public String getCreateBy() {
            return createBy;
        }

        public long getCreateTime() {
            return createTime;
        }

        public String getLastModifyBy() {
            return lastModifyBy;
        }

        public long getLastModifyTime() {
            return lastModifyTime;
        }

        public int getId() {
            return id;
        }

        public String getTaskId() {
            return taskId;
        }

        public String getDefinitionId() {
            return definitionId;
        }

        public String getFormId() {
            return formId;
        }

        public String getNodeId() {
            return nodeId;
        }

        public String getFormContent() {
            return formContent;
        }

        public String getName() {
            return name;
        }

        public String getLabel() {
            return label;
        }
    }
}
